package com.woniuxy.staffservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.staffservice.entity.Dept;

import java.util.List;


public interface DeptService extends IService<Dept> {
    void add(Dept dept);

    List<Dept> getByPid(Integer pid);

    List<Dept> getByCondition(String name,String address,String description, Integer index, Integer limit);

    void deleteById(int id);
}
